package com.dengbw.systemtransfer.mapper;

import com.dengbw.systemtransfer.interfaces.MyBaseMapper;
import com.dengbw.systemtransfer.model.db.CmmFunctionExtConfig;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author dengbw
 * @date 2021/11/2 4:29 下午
 */
@Mapper
public interface CmmFunctionExtConfigMapper extends MyBaseMapper<CmmFunctionExtConfig> {
    @Insert("INSERT INTO `cmm_function_ext_config`(`id`, `name`, `type`, `url`, `tenant_id`, `platform`, `sub_tenant_id`) VALUES (#{id},#{name}, #{type}, #{url}, #{corpId}, #{platform}, #{sub})")
    void save(Long id, String name, Integer type, String url, String corpId, Integer platform, Long sub);
}
